package com.hdoit.apollo.logical.wechat.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.tennetcn.data.dao.base.impl.SuperService;
import com.hdoit.apollo.logical.wechat.dao.IFavoriteDao;
import com.hdoit.apollo.logical.wechat.model.Favorite;
import com.hdoit.apollo.logical.wechat.service.IFavoriteService;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年09月03日 14:49:25
 * @comment
 */
@Component
public class FavoriteServiceImpl extends SuperService<Favorite> implements IFavoriteService{

	@Autowired
	private IFavoriteDao favoriteDao;
	
	@Override
	public Favorite queryModelByCargoIdAndCustomerId(String cargoId,
			String customerId) {
		
		return favoriteDao.queryModelByCargoIdAndCustomerId(cargoId,customerId);
	}

}